aclocal.m4
author Jim Chen <nchen@mozilla.com>
Wed, 19 Jul 2017 14:29:59 -0400
changeset 418393 7773fb9e0bf35ad416aa2c1f785148e48d50f299
parent 406638 faae5fbdd01ddaf171810c446a645ea00085aa54
child 508167 67b2bddb5884ec728f0887eedf2caa05a28feca2
permissions -rw-r--r--
Bug 1351170 - 1. Correctly calculate start offset for non-text nodes; r=masayuki When the start node is a non-container node (i.e. <br>), and the start offset is 0, we should not include a newline character for the node. For example, for this range, > <br/>hello > \___/ the start node/offset is (<br/>, 0) and end node/offset is ("hello", 1). The calculated range offset should be 0, and the range length should be 2: 1 for the <br/> newline character plus 1 for "h". The patch also ensures this behavior for pre-mode nsContentIterator, for both start and end node adjustments. For start nodes, we include any non-container nodes with offset 0 in the range. For end node, we exclude any non-container nodes with offset 0 from the range. MozReview-Commit-ID: Lt2tCLbapq7

dnl
dnl Local autoconf macros used with mozilla
dnl The contents of this file are under the Public Domain.
dnl

builtin(include, build/autoconf/hotfixes.m4)dnl
builtin(include, build/autoconf/acwinpaths.m4)dnl
builtin(include, build/autoconf/hooks.m4)dnl
builtin(include, build/autoconf/config.status.m4)dnl
builtin(include, build/autoconf/toolchain.m4)dnl
builtin(include, build/autoconf/nspr.m4)dnl
builtin(include, build/autoconf/nspr-build.m4)dnl
builtin(include, build/autoconf/nss.m4)dnl
builtin(include, build/autoconf/pkg.m4)dnl
builtin(include, build/autoconf/codeset.m4)dnl
builtin(include, build/autoconf/altoptions.m4)dnl
builtin(include, build/autoconf/mozprog.m4)dnl
builtin(include, build/autoconf/mozheader.m4)dnl
builtin(include, build/autoconf/lto.m4)dnl
builtin(include, build/autoconf/frameptr.m4)dnl
builtin(include, build/autoconf/compiler-opts.m4)dnl
builtin(include, build/autoconf/expandlibs.m4)dnl
builtin(include, build/autoconf/arch.m4)dnl
builtin(include, build/autoconf/android.m4)dnl
builtin(include, build/autoconf/zlib.m4)dnl
builtin(include, build/autoconf/icu.m4)dnl
builtin(include, build/autoconf/clang-plugin.m4)dnl
builtin(include, build/autoconf/alloc.m4)dnl
builtin(include, build/autoconf/ios.m4)dnl
builtin(include, build/autoconf/sanitize.m4)dnl

MOZ_PROG_CHECKMSYS()

# Read the user's .mozconfig script.  We can't do this in
# configure.in: autoconf puts the argument parsing code above anything
# expanded from configure.in, and we need to get the configure options
# from .mozconfig in place before that argument parsing code.
MOZ_READ_MOZCONFIG(.)