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

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: roc, Assigned: roc)

Tracking

Trunk
x86
Linux
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

Posted 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.
Posted 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.
Posted 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: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.