Comprehensive test coverage for Pale Moon browser - Bug #2757
These tests validate basic <geometry-box> functionality with and without complex box models.
Clip path set to margin-box. Should show full element.
Clip path set to border-box. Should show full element.
Clip path set to padding-box. Should show full element.
Clip path set to content-box. Should show full element.
Clip path set to margin-box. Should show entire element including border.
Clip path set to content-box. Should show only the content area.
These tests validate combinations of shape functions with geometry-box values.
10% inset from border-box boundaries. Should clip all sides equally.
20px inset from content-box boundaries. Should clip inside padding area.
Circle centered in padding-box. Should clip to circle shape.
Circle at specific position in margin-box. Should clip with offset.
These tests validate clip-path behavior on inline elements with border-radius.
Inline element with border-box clip-path and border-radius.
Inline element with margin-box clip-path and border-radius.
Inline element with content-box clip-path and border-radius.
Inline element with padding-box clip-path and border-radius.
This test validates the margin-box edge case with border-radius.
Margin-box clip-path with border-radius and specific margin/border ratio.
Expected result for the margin-box edge case test.
Compare test results with these reference elements to validate correct clipping behavior.
Simple element without any clipping applied
Element with borders and padding without clipping
Green content without border or padding
Inline element without any clipping