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

RESOLVED FIXED

Status

()

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)

Created attachment 372776 [details]
testcase

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.
Created attachment 372777 [details]
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.
Created attachment 372783 [details] [diff] [review]
fix

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