-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Description
In preparation for moving to Markdown we'll need to remove inline styles from almost all elements in our documentation. I've done this for JS and am close for CSS.
This issue is to track the work to remove them for Web/API. I count 268 pages under https://developer.mozilla.org/en-US/docs/Web/API that use the style attribute. Proportionately this is less than CSS, but it's still enough that I'd be very happy to have people help out with the work.
So I have crafted a spreadsheet: https://docs.google.com/spreadsheets/d/1HSt5T4b2GAsHhrJiEFGugvFWR5EcujA1-6QlRKIa53o/edit?usp=sharing to coordinate things. If you think you might want to help, ask for editor access to the spreadsheet and also add a comment here so I know who you are. Please note though that this is unlikely to be a suitable "first task" on MDN, so it would be best for people who already have some experience contributing.
My experience with the CSS docs is that many of the changes are likely to be trivial (the style can just be removed) and some are much more involved. In Markdown-land we can keep some inline styles if we really have to: in particular, we're keeping complex tables in HTML, so they can continue to contain inline styles and things will still work. But even in these cases I'd prefer us to find alternatives if we can.