Ticket #981 (closed defect: fixed)
No doctype in iframe content document/ editor always in quirks mode
| Reported by: | axel@… | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | ie, padding, img, doctype, |
| Cc: | axel@… |
Description
If i use the style attribute padding for an im tag, ie will ignore it without a correct doctype declaration. I found out that htmlarea has also a variable doctype and a function to set the doctype, but unfortunately it won't we used.
Example:
<img src="..." style="padding: 25px; border: 1px solid #b6b6b6; background-color: #eeeeee;"/>
Won't work without correct doctype declaration.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I've fixed this problem and created a pacht, if somebody is interested in it, please contact me.
best regards, axel
