Closed Bug 9282 Opened 25 years ago Closed 25 years ago

Inconsistent layout concerning style rule clip

Categories

(Core :: Layout, defect, P2)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: reboughner, Assigned: buster)

References

Details

Attachments

(2 files)

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.
Attached file Sample file demonstrating the problem (deleted) —
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M8
Attached file updated test that covers more cases (deleted) —
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
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...
Status: RESOLVED → VERIFIED
Fixed in the July 09th build (1999070908)
Blocks: 116669
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: