Closed
Bug 1212767
Opened 9 years ago
Closed 9 years ago
Use .properties for the CSS summary tables in en-US pages
Categories
(Developer Documentation Graveyard :: CSS, enhancement)
Developer Documentation Graveyard
CSS
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: teoli, Assigned: sebo)
References
Details
(see bug 1207344#c6). .cssprop: 309 (will be much less when all pages using the {{cssinfo}} macro got refreshed) https://developer.mozilla.org/en-US/search?css_classnames=cssprop We need to update the pages using {{cssinfo}} and to convert the remaining ones
Assignee | ||
Comment 1•9 years ago
|
||
After updating all pages using {{cssinfo}} there are just ~40 pages left. Should browser-specific properties like '-moz-outline-radius' also be stored the CSS DB? If not, we need to create the table manually or use the 'propertiesbox' template. Sebastian
Assignee: nobody → sebastianzartner
Flags: needinfo?(jypenator)
Comment 2•9 years ago
|
||
Kuma's UI test suite likely needs to be updated, too. https://github.com/mozilla/kuma/blob/master/tests/ui/tests/fixtures/in-content.html (This one creates pages like https://developer.mozilla.org/en-US/docs/Intern_Test_1443623174424 etc.)
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #1) > Should browser-specific properties like '-moz-outline-radius' also be stored > the CSS DB? If not, we need to create the table manually or use the > 'propertiesbox' template. > I think we should add them in the CSS DB, there aren't that many of them, and when they become standard (which is a trend), we "just" have to rename them. There shouldn't be too many of them, though they are very old. (wondering if we should list properties alphabetically (without taking into account prefixed) in CSSData)
Flags: needinfo?(jypenator)
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #3) > (In reply to Sebastian Zartner [:sebo] from comment #1) > > Should browser-specific properties like '-moz-outline-radius' also be stored > > the CSS DB? If not, we need to create the table manually or use the > > 'propertiesbox' template. > > > > I think we should add them in the CSS DB, there aren't that many of them, > and when they become standard (which is a trend), we "just" have to rename > them. > > There shouldn't be too many of them, though they are very old. Good, so I'll do that. > (wondering if we should list properties alphabetically (without taking into > account prefixed) in CSSData) I split that out into bug 1213807. Sebastian
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Florian Scholz [:fscholz] (MDN) from comment #2) > Kuma's UI test suite likely needs to be updated, too. > https://github.com/mozilla/kuma/blob/master/tests/ui/tests/fixtures/in- > content.html > > (This one creates pages like > https://developer.mozilla.org/en-US/docs/Intern_Test_1443623174424 etc.) I've updated the the existing ones manually now. Are those pages meant to stay in the wiki after the tests are finished? Sebastian
Flags: needinfo?(fscholz)
Comment 6•9 years ago
|
||
No, I think they should be removed. Needinfo'ing David for input. Can we update the test to use the ".properties" class and is it possible that you (automatically) delete the pages again from prod once run successfully ?
Flags: needinfo?(fscholz) → needinfo?(dwalsh)
Comment 7•9 years ago
|
||
Pull request to update the className here: https://github.com/mozilla/kuma/pull/3565 As for automated deletion, I've not coded that. These "destructive" tests wont be run on prod in the future so more of those pages shouldn't be added. Once we have the automated tests completed, I'll go in and erase these pages. You can erase then now if you'd like!
Flags: needinfo?(dwalsh)
Reporter | ||
Comment 8•9 years ago
|
||
Nice! I erase the pages periodically (keeping a few of the recent ones). Just file a bug to erase the remaining ones once the automated tests are on and assigned it to me.
Assignee | ||
Comment 9•9 years ago
|
||
Fixed all English pages now. The remaining ones listed when doing the search are redirects and therefore related to bug 1213733. Though we still have ~580 pages[1] when not filtering for English. I assume they should *not* be part of this issue. Do you agree, Jean-Yves? If so, we can call this bug done. Sebastian [1] https://developer.mozilla.org/en-US/search?locale=*&css_classnames=cssprop
Flags: needinfo?(jypenator)
Comment 10•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/c40696fdea7a2f1a9ab7f7528f36ef8b05f115ba bug 1212767 - Update test fixture CSS class https://github.com/mozilla/kuma/commit/400f49c55d1d2c905d3236b44eb201c1793c1df0 Merge pull request #3565 from mozilla/1212767-properties-intern bug 1212767 - Update test fixture CSS class
Assignee | ||
Comment 11•9 years ago
|
||
As of bug 1212755 comment 7 this issue is done. Sebastian
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jypenator)
Resolution: --- → FIXED
Summary: Use .properties for the CSS summary tables → Use .properties for the CSS summary tables in en-US pages
You need to log in
before you can comment on or make changes to this bug.
Description
•