Skip to content

Commit c94ff51

Browse files
committed
1 parent 29052e5 commit c94ff51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stylo_dom/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use bitflags::bitflags;
66
use malloc_size_of::malloc_size_of_is_0;
77

8-
pub const HEADING_LEVEL_OFFSET: usize = 51;
8+
pub const HEADING_LEVEL_OFFSET: usize = 52;
99

1010
// DOM types to be shared between Rust and C++.
1111
bitflags! {
@@ -141,6 +141,8 @@ bitflags! {
141141
/// For :active-view-transition.
142142
/// <https://www.w3.org/TR/css-view-transitions-2/#the-active-view-transition-pseudo>
143143
const ACTIVE_VIEW_TRANSITION = 1u64 << 50;
144+
/// For :-moz-suppress-for-print-selection.
145+
const SUPPRESS_FOR_PRINT_SELECTION = 1u64 << 51;
144146
/// https://drafts.csswg.org/selectors-5/#headings
145147
/// These 4 bits are used to pack the elements heading level into the element state
146148
/// Heading levels can be from 1-9 so 4 bits allows us to express the full range.

0 commit comments

Comments
 (0)