mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Implement the inset shorthand.
Differential Revision: https://phabricator.services.mozilla.com/D16704
This commit is contained in:
parent
07d53e32c4
commit
0488a3d3d3
1 changed files with 9 additions and 0 deletions
|
@ -763,6 +763,15 @@
|
|||
}
|
||||
</%helpers:shorthand>
|
||||
|
||||
// See https://github.com/w3c/csswg-drafts/issues/3525 for the quirks stuff.
|
||||
${helpers.four_sides_shorthand(
|
||||
"inset",
|
||||
"%s",
|
||||
"specified::LengthPercentageOrAuto::parse",
|
||||
spec="https://drafts.csswg.org/css-logical/#propdef-inset",
|
||||
allow_quirks=False,
|
||||
)}
|
||||
|
||||
% for axis in ["block", "inline"]:
|
||||
<%
|
||||
spec = "https://drafts.csswg.org/css-logical/#propdef-inset-%s" % axis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue