Closed Bug 993279 Opened 10 years ago Closed 8 years ago

missing properties in "style" tag when saving changes after editing a page

Categories

(Developer Documentation Graveyard :: CSS, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: georgelin422, Assigned: teoli)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
1. press edit in one of the tutorial pages
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_Started/Tables
2. clicked the button "save changes" after editing
3. checked the source code of the resulting page

What happened?
==============
I found that some properties that have been set to the "style" tag are missing. For example, <tables style="border-spacing: .5em;"></tables> is written in the edit mode, yet it shows <tables style=""></tables> in the resulting page and thus the visual layout is not as expected.

What should have happened?
==========================
the resulting page should be the same as the one in the edit mode, otherwise it is very confusing for learners who study this tutorial.

Is there anything else we should know?
======================================
This is not a bug. We are trying to get away from using the style attribute in favor of using the standard CSS classes we pre-define. This page should be updated to correct this problem.
Assignee: nobody → eshepherd
Product: Mozilla Developer Network → Developer Documentation
Moving over to CSS for content/formatting updates. 

Also, this needs to be under Web/CSS in order to be monitored by the CSS doc status page.
Assignee: eshepherd → jypenator
Status: UNCONFIRMED → NEW
Component: General → CSS
Ever confirmed: true
1. Fundamentally, edit doesn't mean 'Play with the example' but 'Edit to fix this page', so it shouldn't be use to experiment.  
2. For security reasons, we doesn't allow every property in style to be used on the page. We use a feature called 'live samples' when this is needed.
3. We have now 'Open in…' buttons that allows to open examples in external tool that precisely allow to play with the examples.

For these 3 reasons, I'm WONTFIXING this bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.