New issue
Advanced search Search tips

Issue 787112 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DOM distiller picks the wrong image in figures

Project Member Reported by wychen@chromium.org, Nov 20 2017

Issue description

Distill https://medium.freecodecamp.org/using-svg-as-placeholders-more-image-loading-techniques-bed1b810ab2c

The source is like this:

<figure><img class="thumbnail" ...><img class="realimg" ...></figure>

The img.thumbnail has "display: none", so img.realimg should be picked instead.

DOM distilled picks the img.thumbnail now.
 

Comment 1 Deleted

Comment 2 by wychen@chromium.org, Dec 15 2017

Owner: wychen@chromium.org
Status: Assigned (was: Available)

Comment 3 Deleted

@wychen @mdjones
Added a patch for this bug 
https://chromium-review.googlesource.com/c/chromium/dom-distiller/+/974624
PTAL. Thanks.

Sign in to add a comment