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:
Emilio Cobos Álvarez 2017-12-30 22:21:21 +01:00
parent 563da3a19c
commit a747de1814
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 11 additions and 22 deletions

View file

@ -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;