Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#47778 new defect (bug)

Unexpected unknown propertys in wp-includes/js/crop/cropper.css

Reported by: ozmatflc Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.2
Component: Customize Keywords: close
Focuses: Cc:
PR Number:


Line 88: wid\th: 6px;

Is the backslash intentional?

Change History (3)

#1 in reply to: ↑ description @ozmatflc
3 months ago

Replying to ozmatflc:

Line 88: wid\th: 6px;

Is the backslash intentional?

Same in line 89: hei\ght: 6px;

#2 @tobifjellner
3 months ago

The comment in line 84 hints that this probably is intentional:

/* fix IE 5 box model */

#3 @SergeyBiryukov
3 months ago

  • Component changed from General to Customize
  • Keywords close added

Hi @ozmatflc, welcome to WordPress Trac! Thanks for the ticket.

Introduced in [4629], replaced with Jcrop in [10846], replaced with imgAreaSelect in [14907].

Yes, this appears to be a "CSS hack" for IE 5. While that browser is no longer supported, these older libraries are only kept for backward compatibility, I don't see a benefit in editing them.

Note: See TracTickets for help on using tickets.