Files
servo/components
Jonathan Chan 1301bcdf10 Omit serializing the universal selector when possible.
If omitting the universal selector in the serialization is possible, we
should do it so we obtain a shorter serialization (to match the behavior
asserted in cssom/serialize-namespaced-type-selectors.html).

For example, if someone writes *|*::before and there is no default
namespace, we should serialize to ::before; however, if there is a
default namespace, we should serialize to *|*::before.
(This is the test case "Universal selector in any namespace followed by
pseudo element).

This matches the behavior implemented by WebKit; that one case in
particular isn't implemented by Gecko, but other cases where the
universal selector should be elided are implemented by Gecko but were not
previously by Servo.
2017-07-17 10:52:17 -07:00
..
2017-06-16 13:31:18 +02:00
2017-06-18 13:21:51 +02:00
2017-07-14 08:56:38 +02:00
2017-06-18 13:21:51 +02:00
2017-06-16 13:31:18 +02:00
2017-05-16 10:12:51 +02:00
2017-07-11 17:14:14 +02:00
2017-06-18 13:21:51 +02:00
2017-06-18 13:21:51 +02:00