Open
Bug 353290
Opened 19 years ago
Updated 3 years ago
Size of list numbers or bullets isn't changed after command FontSize in DHTML editor
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: mjuhos, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
736 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Only text size is changed (not numbers or bullets) when is changed font size in DHTML editor on list.
Same problem exist in Firefox 2.0b (Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2)
Reproducible: Always
Steps to Reproduce:
1. Open testcase
2. Select ordered list in edit area
3. Press button "Change size"
Actual Results:
Numbers are smaller that text.
HTML code: <li><font size="5">Item 1</font></li>
Expected Results:
Numbers will have same size as text.
HTML code: <li style="font-size:20px">Item 1</li>
Testcase:
<html>
<script>
var editorDocument;
onload = function() {
editorDocument = document.getElementsByTagName('iframe')[0].contentWindow.document;
editorDocument.designMode = "on"
editorDocument.body.innerHTML = "<ol><li>Item 1</li><li>Item 2</li><li>Item 3</li></ol>"
}
function changeSize() {
editorDocument.execCommand('FontSize', false, 5);
document.getElementById('out').innerHTML =
editorDocument.body.innerHTML.replace( new RegExp('<', 'gi'), '<').replace(new RegExp('>', 'gi'), '>').replace(new RegExp('\n', 'gi'), '<br>');
}
</script>
<body>
<button onmousedown="changeSize()">Change size</button><br>
<iframe></iframe>
<div id="out"></div>
</body>
</html>
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060918 BonEcho/2.0
I see this: http://img227.imageshack.us/img227/7164/picturelq5.png
Updated•16 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 3•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•