mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 20:45:07 +00:00

This change makes tree builder omit elements with "display: contents" from the layout tree during construction. Their child elements are instead directly appended to the parent element in layout tree.
10 lines
No EOL
282 B
HTML
10 lines
No EOL
282 B
HTML
<!DOCTYPE html>
|
|
<style type="text/css">
|
|
.globalnav-list {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.globalnav-menu {
|
|
display: contents;
|
|
}
|
|
</style><ul class="globalnav-list"><li class="globalnav-menu"><div id="item-1">Store</div><div id="item-2">Mac</div> |