Closed Bug 236089 Opened 21 years ago Closed 7 years ago

<applet>, <embed>, <object> does not draw CSS borders when embedding plugin

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cstehlin.ml, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(4 files, 2 obsolete files)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 trying to set a border around an <embed> gives no result, and so on for any kind of style. Reproducible: Always Steps to Reproduce: see attached files : the grey zone should be surrounded by a border.
Attached file example where CSS rules give no results (obsolete) (deleted) —
Attached file swf (deleted) —
Attached file test case (deleted) —
Useable test case
Attachment #142665 - Attachment is obsolete: true
Assignee: dbaron → nobody
Status: UNCONFIRMED → NEW
Component: Style System (CSS) → Layout
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: ian → core.layout
Hardware: PC → All
Summary: <embed> does not take CSS rules into account → <embed>, <object> does not draw CSS borders when embedding plugin
Keywords: testcase
QA Contact: core.layout → ian
*** Bug 264566 has been marked as a duplicate of this bug. ***
In this webpage, the border is drawn. But drawn in a wrong way: http://blog.cs.cityu.edu.hk/users/50307104/fyp/livepad-0.1-about-window.xhtml
*** Bug 305213 has been marked as a duplicate of this bug. ***
Summary: <embed>, <object> does not draw CSS borders when embedding plugin → <applet>, <embed>, <object> does not draw CSS borders when embedding plugin
Found a dupe: Bug 311147
*** Bug 321682 has been marked as a duplicate of this bug. ***
*** Bug 311147 has been marked as a duplicate of this bug. ***
Depends on: 317375
QA Contact: ian → layout
This bug is long fixed?
Bug still occurs for me when using an embed tag inside an object tag.
Attached file Test border for various embedding methods (obsolete) (deleted) —
Attachment #487108 - Attachment is obsolete: true
This is probably well known, anyway: Borders are drawn in current trunk versions (for example Gecko/20110131 Firefox/4.0b11pre), but both borders and paddings are wrongly "subtracted" from the object size (as in the "border-box" box-sizing model), I created an attachment to show this.
All attached test cases work in Firefox 57 Nightly, so it was fixed sometime in the last 7 years.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: