mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
layout: Implement box-sizing: border-box
.
Improves GitHub.
This commit is contained in:
parent
f7d2fb6ff8
commit
885fc1c28b
6 changed files with 139 additions and 70 deletions
|
@ -1075,6 +1075,12 @@ pub mod longhands {
|
|||
// FIXME(SimonSapin): Add 'mixed' and 'upright' (needs vertical text support)
|
||||
// FIXME(SimonSapin): initial (first) value should be 'mixed', when that's implemented
|
||||
${single_keyword("text-orientation", "sideways sideways-left sideways-right", experimental=True)}
|
||||
|
||||
// CSS Basic User Interface Module Level 3
|
||||
// http://dev.w3.org/csswg/css-ui/
|
||||
${switch_to_style_struct("Box")}
|
||||
|
||||
${single_keyword("box-sizing", "content-box border-box")}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue