.style.clip doesn't cause a redraw

RESOLVED WORKSFORME

Status

Core Graveyard
GFX
RESOLVED WORKSFORME
15 years ago
10 years ago

People

(Reporter: Håkon A. Hjortland, Assigned: Kevin McCluskey (gone))

Tracking

Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030605
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030605

Clipping a DIV to 'rect(auto auto 0px auto)' clips images, but text is not
clipped at all.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
Text was not clipped

Expected Results:  
Text should have been clipped
(Reporter)

Comment 1

15 years ago
Created attachment 125025 [details]
Demonstrates the bug

Comment 2

15 years ago
This has changed.  Now style.clip takes proper effect on all elements, but it
will only show the first time you assign to it. Any assignments after that won't
show up until you cause mozilla to redraw (for example, putting another window
over top).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: .style.clip = 'rect(auto auto 0px auto)' doesn't clip text → .style.clip doesn't cause a redraw

Comment 3

11 years ago
Works fine in Fx 2.0 and trunk.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.