Closed
Bug 1349284
Opened 7 years ago
Closed 7 years ago
An example in the CSS grid demo shows incorrect CSS
Categories
(www.mozilla.org :: Pages & Content, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugs, Assigned: craigcook)
Details
Attachments
(1 file)
The problem is with the 3rd "Place & Align" example (#demo-two.example-3) at https://www.mozilla.org/en-US/developer/css-grid/. The code box under the demo contains the following CSS: .item-1 { grid-area: a; align-self: end; } .item-2 { grid-area: b; align-self: start; } but this is substantially different from the CSS actually used in the demo: #demo-two.example-3 .item-1{grid-area:a;align-self:start}#demo-two.example-3 .item-2{grid-area:b;align-self:end} That is, the values of align-self have been reversed (start-to-end and end-to-start). This error is repeated for items 3 and 4, and overall makes the example a bit confusing.
Reporter | ||
Updated•7 years ago
|
Component: Product Details → Pages & Content
Reporter | ||
Comment 1•7 years ago
|
||
My apologies for the incorrect category - I should have double-checked that.
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•7 years ago
|
||
Thanks for the report, sorry we missed this. I'll get it fixed ASAP.
Assignee: nobody → craigcook.bugz
Assignee | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/db0cbeaf6604f4adfd479742dd556d2ea0e37992 [fix bug 1349284] Show correct CSS for grid example https://github.com/mozilla/bedrock/commit/4b867293e45530c3ea920c1bdc1c2bd0c4666cd4 Merge pull request #4733 from craigcook/bug-1349284-grid-demo-code [fix bug 1349284] Show correct CSS for grid example
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•