[Webkit-unassigned] [Bug 82978] Web Inspector: flakey test on Lion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 29 17:44:40 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=82978


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothy at apple.com




--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2013-08-29 17:44:02 PST ---
Looks like the backend gives us the wrong source line info for the inline <style> in this SVG. Maybe just the first time?

The frontend asks for the styles:

    frontend: {"method":"CSS.getMatchedStylesForNode","params":{"nodeId":9,"includePseudo":true,"includeInherited":true},"id":59}

And gets back a list of rules, the rule for the SVG has a bad sourceLine, notice it has 37 below, I'd expect something like 29.

    "sourceURL": "file:///Volumes/Data/Code/webkit-open-source/LayoutTests/inspector/styles/svg-style.xhtml",
    "sourceLine": 37,
    "origin": "regular",
    "style": {
        "cssProperties": [{
            "name": "fill",
            "value": "red",
            "text": "fill: red",
            "implicit": false,
            "range": {
                "startLine": 1,
                "startColumn": 15,
                "endLine": 1,
                "endColumn": 24
            },
            "status": "active"
        }],
        ...
    },
    "ruleId": {
        "styleSheetId": "4",
        "ordinal": 0
    }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list