1. 24 Sep, 2020 38 commits
  2. 23 Sep, 2020 2 commits
    • Dirk Pranke's avatar
      Clarify location of test_artifacts in json_test_results_format. · 532b3f34
      Dirk Pranke authored
      The existing documentation for where to put any artifacts produced by a
      test wasn't completely clear, so this adds some additional text to
      hopefully make it so. Namely, paths should be specified relative to the
      location of the results file, which normally is in $ISOLATED_OUTDIR,
      meaning that the paths will also be relative to $ISOLATED_OUTDIR).
      
      
      Change-Id: I7f03b9f31e7141051a4c783c383547e9dd27d286
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426975
      Commit-Queue: Dirk Pranke <dpranke@google.com>
      Reviewed-by: default avatarDirk Pranke <dpranke@google.com>
      Reviewed-by: default avatarStephen Martinis <martiniss@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#810021}
      532b3f34
    • Rune Lillesveen's avatar
      Don't use recalc for ClearEnsuredDescendantStyles. · 3ff4a0bc
      Rune Lillesveen authored
      Accessibility code calls EnsureComputedStyle during layout. That is not
      strictly a problem, but we lazily clear computed styles outside the flat
      tree during EnsureComputedStyle when querying computed style outside the
      flat tree. Since we use the style recalc code to clear ComputedStyle
      objects from a subtree we got a lifecycle issue with going to style
      recalc during layout.
      
      It would be interesting to find out why we end up querying computed
      style for an element outside the flat tree for accessibility, but
      otherwise using style recalc traversal to clear the ComputedStyle
      objects was a bit more complicated than necessary.
      
      This CL introduces a separate traversal that just clears ComputedStyle
      along with dirty bits instead of going through style recalc.
      
      TEST=StyleEngineTest.*
      
      Bug: 1130436
      Change-Id: I22ce417c6bc133e0429ba794f555821d74d08512
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424344Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
      Commit-Queue: Rune Lillesveen <futhark@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#810020}
      3ff4a0bc