Closed Bug 782350 Opened 12 years ago Closed 12 years ago

Select box not working correctly

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chaplinkyle, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1 Steps to reproduce: Viewed https://developer.mozilla.org/en-US/docs/HTML/Element/select Saw HTML in example results: <select name="select"> <option value="value1">Value 1</option> <option value="value2" selected>Value 2</option> <option value="value3">Value 3</option> </select> Actual results: Saw rendered HTML as : <select> <option>Value 1</option> <option>Value 2</option> <option>Value 3</option> </select> Expected results: Correct HTML should have been rendered: <select name="select"> <option value="value1">Value 1</option> <option value="value2" selected>Value 2</option> <option value="value3">Value 3</option> </select>
PR @ https://github.com/mozilla/kuma/pull/526 chaplinkyle, I have written a fix for this. A bot will come by and mark this bug as RESOLVED soon. A few days after it does, you should visit the page in question and hit Ctrl+Shift+R to fix the issue. Convoluted I know. Sorry about that.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/b625bd715c507310fef23c30cfdb8395ea4d3310 fix bug 782350: Whitelisted select box attributes. https://github.com/mozilla/kuma/commit/a2677ac03e95c28110fc61ed09b2d61ab9e3d396 Merge pull request #526 from openjck/select-attributes fix bug 782350: Whitelisted select box attributes.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Version: MDN → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: