Inconsistent layout concerning style rule clip

VERIFIED FIXED in M8

Status

()

Core
Layout
P2
normal
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: Robert E. Boughner, Assigned: buster)

Tracking

Trunk
x86
Windows 98
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

19 years ago
The example that is attached seems to me to be inconsistent with how the clip
rule is explained in the CSS2 specifications.  Specifically the use of negative
values to cause clipping to the left of the right hand boundary.  The same goes
for clipping along the bottom.  Also if I change the clip value to 50px for the
first value, all of the others being set to 0px, I get clipping along the left
and bottom of the region.  Similarly if I change the last value to 50px, with
all the others set to 0px, I get clipping along the top and right hand
boundaries.  This behavior is completely opposite to how I read the
specification.  The top offset is the first parameter and the last one is the
left offset.  These tests were done with the M7 build on a Windows 98 machine.
(Reporter)

Comment 1

19 years ago
Created attachment 710 [details]
Sample file demonstrating the problem

Updated

19 years ago
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M8

Comment 2

19 years ago
Created attachment 711 [details]
updated test that covers more cases

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 3

19 years ago
Fixed. There were two problems. (1) I had exchanged top and left when converting
to a rectangle (2) the sign for handling the right/bottom values needed to be
inverted to match the css2 spec. The fix will show up in M8, or a current
build...

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 4

19 years ago
Fixed in the July 09th build (1999070908)

Updated

16 years ago
Blocks: 116669
You need to log in before you can comment on or make changes to this bug.