Closed Bug 488416 Opened 13 years ago Closed 13 years ago

overflow:hidden does not clip windowless plugins on GTK2/X

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(2 files, 1 obsolete file)

Attached file testcase (obsolete) —
In the testcase, the plugin should be clipped to the red box, but it is not. This is expected for windowed plugins, since we do not give overflow:hidden content a widget, but for windowless I expected it to already work.
Attached file correct testcase
That testcase was wrong.
Attachment #372776 - Attachment is obsolete: true
nptest_gtk2.cpp is ignoring NPWindow::clipRect.
That would be OK if it paid attention to the dirty rect in the expose event.
Attached patch fixSplinter Review
It's just a bug in the test plugin.
Assignee: nobody → roc
Attachment #372783 - Flags: review?(mozbugz)
Attachment #372783 - Flags: review?(mozbugz) → review+
http://hg.mozilla.org/mozilla-central/rev/8a2f7b9cc481
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.