mirror of
https://github.com/servo/servo
synced 2026-05-13 02:17:06 +02:00
When script is looking up an attribute for layout then it only needs to care about the attribute value. The `Attr` node itself is not required. If we want to lazily construct attribute nodes in the future (https://github.com/servo/servo/issues/36697) then we should use `Attr` as little as possible. This also ends up simplifying the code by accident. Testing: No behaviour change intended, regressions are covered by existing tests. Part of https://github.com/servo/servo/issues/36697 Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
202 KiB
202 KiB