Closed
Bug 782842
Opened 12 years ago
Closed 12 years ago
Editor style should match rendered article style
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: callahad, Assigned: davidwalsh)
References
Details
(Whiteboard: p=2)
The stylesheet used when editing an MDN article does not match the actual display on MDN once the article is saved. I've noticed a few particularly large discrepancies: 1. TH elements in the editor have their contents centered and in bold. When saved, the contents are normal weight and left-aligned. 2. TH elements inside THEAD elements have a grey background when saved, yet in the editor, their background is transparent. 3. Headings are sans-serif in the editor, but serif when saved. 4. Headings have a border-bottom when saved, but no border-bottom in the editor.
Comment 1•12 years ago
|
||
More: Headings are totally different sizes in editor vs. viewing. Line spacing is very low in editor. The note box style still has the extra space at the bottom between the last line of text and the bottom edge of the box that we removed in viewing mode. The text in edit mode is significantly smaller than in viewing mode.
Comment 2•12 years ago
|
||
Also: Layout of <dl> blocks doesn't match. The <dd> part is way farther to the right than in the reading view.
Comment 3•12 years ago
|
||
"z-index" style is lost too. "z-index example" of article at: https://developer.mozilla.org/en-US/docs/CSS/z-index, the "z-index" style of "example section" is lost.
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Docs Platform → Editing
Comment 4•12 years ago
|
||
Feature page if you want to capture some design decisions some place permanent: https://wiki.mozilla.org/MDN/Development/Features/Editor_style_should_match_rendered_article_style
Summary: Editor style does not match rendered article style → Editor style should match rendered article style
Whiteboard: p=2
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dwalsh
Assignee | ||
Comment 5•12 years ago
|
||
This was merged earlier today.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
David: Do those changes close bug 779634 also?
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•