mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
style: Simplify "prohibit display: contents" adjustment.
On top of #19661. The NAC condition is pointless because NAC don't match author rules unless they are a pseudo-element too.
This commit is contained in:
parent
563da3a19c
commit
a747de1814
4 changed files with 11 additions and 22 deletions
|
@ -3079,11 +3079,6 @@ bitflags! {
|
|||
/// that it may affect global state, like the Device's root font-size.
|
||||
const IS_ROOT_ELEMENT = 1 << 3;
|
||||
|
||||
/// Whether to convert display:contents into display:inline. This
|
||||
/// is used by Gecko to prevent display:contents on generated
|
||||
/// content.
|
||||
const PROHIBIT_DISPLAY_CONTENTS = 1 << 4;
|
||||
|
||||
/// Whether we're computing the style of a link, either visited or
|
||||
/// unvisited.
|
||||
const IS_LINK = 1 << 6;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue