Bug 28480 - clipping in layers using css don't work
Summary: clipping in layers using css don't work
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-08 18:33 UTC by Paul Pacheco
Modified: 2002-09-25 13:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case (659 bytes, text/html)
2002-09-18 15:49 UTC, Paul Pacheco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pacheco 2001-07-08 18:30:32 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           3.0 (using KDE 2.2.0 beta1)
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
OS:                Linux (i686) release 2.4.5-8mdksmp
OS/Compiler notes: 

I have a layer which has the style property
that looks like this:

 style="...clip:rect(0 100 auto 0);..." 

Even though IE netscape & mozilla clip the layer and all it's contents konqueror is currently ignoring this.

I will attach a test case for this in a separate email.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Paul Pacheco 2001-07-08 18:37:32 UTC
--------------Boundary-00=_KQ366MR0YTQL5INPC40A
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

This test case is very self explanatory.

There are two layers. The first is a regular layer. The second is basically 
the same but it adds a clipping style property.

open test5.html in mozilla & IE (it does not work in netscape 4.x) you will 
see the second layer with the text inside clipped.

now open it in konqueror you will see both layers are the same size.

--------------Boundary-00=_KQ366MR0YTQL5INPC40A
Content-Type: text/html;
  charset="iso-8859-1";
  name="test5.html"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test5.html"

PGh0bWw+CjxoZWFkPjxzY3JpcHQgbGFuZ3VhZ2U9ImphdmFzY3JpcHQiIHNy
Yz0iLi4vanMvamVycm9yLmpzIj48L3NjcmlwdD4KICAgCjxtZXRhIGh0dHAt
ZXF1aXY9ImV4cGlyZXMiICBjb250ZW50PSIwIj4KPHRpdGxlPlVudGl0bGVk
IERvY3VtZW50PC90aXRsZT4KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1U
eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9aXNvLTg4NTktMSI+
Cgo8L2hlYWQ+Cgo8Ym9keSBiZ2NvbG9yPSIjMzMwMDY2IiBsZWZ0bWFyZ2lu
PSIwIiB0b3BtYXJnaW49IjAiIG1hcmdpbndpZHRoPSIwIiBtYXJnaW5oZWln
aHQ9IjAiPgoKPGRpdiBpZD0idGVzdCIgc3R5bGU9InBvc2l0aW9uOmFic29s
dXRlO3dpZHRoOjQwMDtsZWZ0OjA7dG9wOjA7aGVpZ2h0OjIwO2JhY2tncm91
bmQtY29sb3I6YWFmZjAwOyI+CnRoaXMgdGV4dCBzaG91bGQgc2hvdyBub3Qg
YmUgY2xpcHBlZAo8L2Rpdj4KPGRpdiBpZD0idGVzdCIgc3R5bGU9InBvc2l0
aW9uOmFic29sdXRlO3dpZHRoOjQwMDtsZWZ0OjA7dG9wOjMwO2hlaWdodDoy
MDtiYWNrZ3JvdW5kLWNvbG9yOmFhZmYwMDtjbGlwOnJlY3QoMCAxMDAgYXV0
byAwKTsiPgp0aGlzIHRleHQgc2hvdWxkIHNob3cgYmUgY2xpcHBlZAo8L2Rp
dj4KCjwvYm9keT4KICAgIAoKPC9odG1sPgoKCgo=

--------------Boundary-00=_KQ366MR0YTQL5INPC40A--
Comment 2 Paul Pacheco 2002-09-18 15:49:53 UTC
Created attachment 26 [details]
Test case

This is the test case as an attachment. It is easier to see in this way rather
than the mimencode string.
Comment 3 Lars Knoll 2002-09-25 13:04:18 UTC
*** Bug has been marked as fixed ***.