New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 765567 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 709744
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

window.getComputedStyle problem

Reported by zhangmin...@gmail.com, Sep 15 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36

Steps to reproduce the problem:
1. .context_kw17::before {
    content: "test";
}
2. window.getComputedStyle(document.querySelector('.context_kw17'), ':before').getPropertyValue('content')

What is the expected behavior?
should return "test"

What went wrong?
return empty

Did this work before? Yes don't remember

Chrome version: 61.0.3163.91  Channel: n/a
OS Version: 10.0
Flash Version:
 
QQ截图20170915163927.png
15.6 KB View Download
QQ截图20170915163937.png
16.3 KB View Download

Comment 1 by woxxom@gmail.com, Sep 15 2017

Can't reproduce, see the attached test.html
test.html
314 bytes View Download
Cc: ranjitkan@chromium.org
Labels: Needs-Feedback Needs-Triage-M61
Rechecked this issue on Windows 10, Mac 10.12.6, Ubuntu 14.04 with the provided sample test.html file using chrome version 61.0.3163.91 Stable build. Observed that on all OS The result displayed was "Passed". Attached screen shot for the same.

@ zhangmin6105: Request you to please check and let us know if there are any other way to replicate the issue.

Thanks.!
Passed.png
17.2 KB View Download
Components: -Blink Blink>CSS
Labels: Hotlist-Interop
i think this issue is duplicated with  issue 709744 .
Cc: rbasuvula@chromium.org
Mergedinto: 709744
Status: Duplicate (was: Unconfirmed)
Seems this issue is similar to  issue #709744 . Hence merging this issue with 709744.

Please undo if this is not similar.

Thanks.	

Sign in to add a comment