https://github.com/web-platform-tests/wpt
Revision 378530000a7140ccfc83c2df6ef4bb92543103db authored by Sandra Sun on 19 March 2018, 16:31:26 UTC, committed by Chromium WPT Sync on 19 March 2018, 16:31:26 UTC
Currently, we parse the two values in scroll-snap-align for x and y.
However, according to the spec,
https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align, the two
values specify the alignment in the inline axis and block axis. This
patch renames the two values and handles the vertical writing mode for
inline and block alignments.

Bug: 821645
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Change-Id: I78acff0df4698b3f9c0f7443e61e3bad75379b14
Reviewed-on: https://chromium-review.googlesource.com/967890
Commit-Queue: Sandra Sun <sunyunjia@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544055}
1 parent 5bb0c83
Raw File
Tip revision: 378530000a7140ccfc83c2df6ef4bb92543103db authored by Sandra Sun on 19 March 2018, 16:31:26 UTC
scroll-snap-align should specify inline and block.
Tip revision: 3785300
nfc_recordType_opaque-manual.https.html
<!DOCTYPE html>
<meta charset=utf-8>
<title>Web NFC Test: push and watch opaque records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact">
<meta name="timeout" content="long">

<p>Tap an NFC tag to the test device with NFC support.</p>

<p>Note: All the actions need to be done in 60 seconds, otherwise it will get TIMEOUT.</p>

<div id="log"></div>

<script>

"use strict";

setup({ explicit_timeout: true });

let desc = "Test that nfc.push and nfc.watch succeed when recordType is set to 'opaque'."
let watchOptions = {
  recordType : "opaque",
  mediaType : "application/octet-stream",
  url : ""
}
let message = createMessage([createOpaqueRecord(test_buffer_data)]);

testNFCMessage(message, watchOptions, desc);

</script>
back to top