mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add style adjustments for ruby.
This commit is contained in:
parent
f08c432b57
commit
6a12de1c1a
7 changed files with 158 additions and 8 deletions
|
@ -18,5 +18,15 @@ bitflags! {
|
|||
/// text-decoration-line is a reset property, but gets propagated in the
|
||||
/// frame/box tree.
|
||||
const HAS_TEXT_DECORATION_LINES = 1 << 0,
|
||||
|
||||
/// Whether line break inside should be suppressed.
|
||||
///
|
||||
/// If this flag is set, the line should not be broken inside,
|
||||
/// which means inlines act as if nowrap is set, <br> element is
|
||||
/// suppressed, and blocks are inlinized.
|
||||
///
|
||||
/// This bit is propagated to all children of line participants.
|
||||
/// It is currently used by ruby to make its content unbreakable.
|
||||
const SHOULD_SUPPRESS_LINEBREAK = 1 << 1,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue