[css-logical] Implement the padding-block/inline shorthands
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
7.96 KB,
patch
|
emilio
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Intent to ship post:
https://groups.google.com/forum/#!topic/mozilla.dev.platform/gpubhXTxI6o
Assignee | ||
Comment 4•6 years ago
|
||
.unwrap_or_else(|| start_value.clone());
^^^^^^^^^^^^^^ -- takes 0 arguments
|
expected closure that takes 1 argument
So, is |_| the way to solve that?
Comment 5•6 years ago
|
||
Yup, sorry. unwrap_or_else on Option<T> takes no arguments, on Result<T, E> takes the error, which in this case we ignore, so _
is the right thing to signal that.
Comment 7•6 years ago
|
||
bugherder |
Comment 8•6 years ago
|
||
Docs completed; Rachel Andrew created the docs a while ago, and recently updated the compat data too:
https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block#Browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline#Browser_compatibility
I also added a note to the Fx66 rel notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66#CSS
Description
•