question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Investigate missing CSS blink features

See original GitHub issue

For example: https://chromestatus.com/metrics/css/timeline/popularity/516

image

The pages HAR dataset does include a _blinkFeatureFirstUsed.CSSFeatures property, but these are named using TitleCase convention (CSSPropertyFont), while the CSS features on Chrome Status are hyphenated (font-display). There is no feature in the HA dataset resembling “CSSFontDisplay”. These are all of the Blink features (JS, HTML, or CSS) known to HA that include “font”:

  • CSSAtRuleFontFace
  • kFontShapingNotDefGlyphObserved
  • DocumentFonts
  • FontFaceConstructor
  • CSSAtRuleFontFeatureValues
  • V8CSSFontFaceRule_Style_AttributeGetter
  • FontSizeWebkitXxxLarge
  • FontShapingNotDefGlyphObserved

It seems that HA and WPT aren’t reporting the same list of CSS features used by Chrome Status. We should figure out how to extract these feature detections from Chrome using WPT and add them to the Chrome Status dashboard.

cc @pmeenan @igrigorik

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
pmeenancommented, Jan 23, 2020

Crawl just finished so I just landed the change for next month. Truncated sample:

"_blinkFeatureFirstUsed": {
    "AnimatedCSSFeatures": [],
    "CSSFeatures": {
        "212": {
            "firstUsed": 1909.394,
            "name": "CSSPropertyAliasWebkitBoxShadow"
        },
        "130": {
            "firstUsed": 520.46299999999997,
            "name": "CSSPropertyTextIndent"
        },
        "90": {
            "firstUsed": 531.17499999999995,
            "name": "CSSPropertyMarginBottom"
        },
        "24": {
            "firstUsed": 519.58600000000001,
            "name": "CSSPropertyBackgroundColor"
        },
    },
    "Features": {
        "2712": {
            "firstUsed": 1295.3440000000001,
            "name": "WindowScreenX"
        },
        "217": {
            "firstUsed": 654.08699999999999,
            "name": "ElementPrefixedMatchesSelector"
        },
        "2710": {
            "firstUsed": 1278.7080000000001,
            "name": "WindowPageXOffset"
        },
        "2711": {
            "firstUsed": 750.44399999999996,
            "name": "WindowPageYOffset"
        }
    }
}

Yeah, I should probably round and truncate those numbers 😄, but otherwise it is done.

0reactions
rviscomicommented, Mar 13, 2020

With @jrobbins’ help the fix is live!

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Guide To CSS Debugging
We'll review debugging for each category by learning common culprits for these issues and see how to use dev tools and other methods...
Read more >
How to make blinking/flashing text with CSS 3
You are first setting opacity: 1; and then you are ending it on 0 , so it starts from 0% and ends on...
Read more >
Investigate removing or re-writing our ISO/IEC 8859-8 ...
Issue 319643: Investigate removing or re-writing our ISO/IEC 8859-8 ... http://blink.lc/blink/plain/LayoutTests/fast/css/rtl-ordering.html
Read more >
The Blinking Text element - HTML: HyperText Markup Language
The HTML element is a non-standard element which causes the enclosed text to flash slowly.
Read more >
W3C re-introduces popular BLINK feature
There was much critique in the community about the removal of the prior version of BLINK, which W3C now has addressed using state-of-the-art ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found